<div class="row-fluid sortable">
    <div class="box span12">
        <div class="box-header" data-original-title>
            <h2><i class="icon-edit"></i><span class="break"></span>Form Elements</h2>
        </div>
        <div class="box-content">
        <?php $form=$this->beginWidget('CActiveForm', array(
               'id'=>'booked-form',
               'enableAjaxValidation'=>false,
                'htmlOptions'=>array(
                    'class'=>'form-horizontal',
                ),              
       )); ?>
           
                <fieldset>
                    <div class="control-group">
                        <label for="focusedInput" class="control-label">User_id</label>
                        <div class="controls">
                            <?php echo $form->textField($model,'user_id',array('size'=>11,'maxlength'=>11)); ?>
                        </div>
                            <?php echo $form->error($model,'user_id'); ?>
                    </div>
                    <div class="control-group">
                        <label for="focusedInput" class="control-label">Ticket_id</label>
                        <div class="controls">
                            <?php echo $form->textField($model,'ticket_id'); ?>
                        </div>
                            <?php echo $form->error($model,'ticket_id'); ?>
                    </div>
                    <div class="control-group">
                        <label for="focusedInput" class="control-label">Quantity</label>
                        <div class="controls">
                            <?php echo $form->textField($model,'quantity',array('size'=>10,'maxlength'=>10)); ?>
                        </div>
                            <?php echo $form->error($model,'quantity'); ?>
                    </div>
                    <div class="control-group">
                        <label for="focusedInput" class="control-label">Payment_type</label>
                        <div class="controls">
                            <?php echo $form->textField($model,'payment_type',array('size'=>60,'maxlength'=>255)); ?>
                        </div>
                            <?php echo $form->error($model,'payment_type'); ?>
                    </div>
                    <div class="control-group">
                        <label for="focusedInput" class="control-label">Booked_date</label>
                        <div class="controls">
                            <?php echo $form->textField($model,'booked_date'); ?>
                        </div>
                            <?php echo $form->error($model,'booked_date'); ?>
                    </div>
                    <div class="control-group">
                        <label for="focusedInput" class="control-label">Additional_note</label>
                        <div class="controls">
                            <?php echo $form->textArea($model,'additional_note',array('rows'=>6, 'cols'=>50)); ?>
                        </div>
                            <?php echo $form->error($model,'additional_note'); ?>
                    </div>
                    <div class="control-group">
                        <label for="focusedInput" class="control-label">Facbook_id</label>
                        <div class="controls">
                            <?php echo $form->textField($model,'facbook_id'); ?>
                        </div>
                            <?php echo $form->error($model,'facbook_id'); ?>
                    </div>
                    <div class="control-group">
                        <label for="focusedInput" class="control-label">Phone</label>
                        <div class="controls">
                            <?php echo $form->textField($model,'phone',array('size'=>10,'maxlength'=>10)); ?>
                        </div>
                            <?php echo $form->error($model,'phone'); ?>
                    </div>
                    <div class="control-group">
                        <label for="focusedInput" class="control-label">Payment_address</label>
                        <div class="controls">
                            <?php echo $form->textArea($model,'payment_address',array('rows'=>6, 'cols'=>50)); ?>
                        </div>
                            <?php echo $form->error($model,'payment_address'); ?>
                    </div>
                   
                    <div class="form-actions">
                        <button type="submit" class="btn btn-primary">Save changes</button>
                        <button type="reset" class="btn">Cancel</button>
                    </div>
                </fieldset>
         <?php $this->endWidget(); ?>

        </div>
    </div><!--/span-->
</div><!--/row-->